<?php
$labels = array(
	'name' => 'Team',
	'singular_name' => 'Team',
	'add_new' => 'Add New',
	'add_new_item' => 'Add New Team Member',
	'edit_item' => 'Edit Team Member',
	'new_item' => 'New Team Member',
	'all_items' => 'All Team Member',
	'view_item' => 'View Team Member',
	'search_items' => 'Search Team Member',
	'not_found' =>  'No Team Member found',
	'not_found_in_trash' => 'No Team Member found in Trash', 
	'parent_item_colon' => '',
	'menu_name' => 'Team'
);

$args = array(
	'labels' => $labels,
	'public' => true,
	'exclude_from_search' => true,
	'publicly_queryable' => true,
	'show_ui' => true, 
	'show_in_menu' => true, 
	'query_var' => true,
	'rewrite' => array( 'slug' => 'team' ),
	'capability_type' => 'post',
	'has_archive' => true, 
	'hierarchical' => true,
	'menu_position' => null,
	'supports' => array( 'title', 'thumbnail', 'page-attributes' ),
    'taxonomies' => array('post_tag'),
    'map_meta_cap' => true
);
register_post_type( 'team', $args );